package com.phs.main.web.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 环卫记录表
 * </p>
 *
 * @author Trent
 * @since 2020-07-07
 */
@Data
@EqualsAndHashCode
@ApiModel(value = "CleaningRecord对象", description = "环卫记录表")
public class CleaningRecord implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "清洁记录", hidden = true)
	@TableId(value = "cr_ID", type = IdType.AUTO)
	private Long crId;

	@ApiModelProperty(value = "员工名称")
	private String userName;

	@ApiModelProperty(value = "员工ID")
	@TableField("user_ID")
	private Long userId;

	@ApiModelProperty(value = "清洁范围")
	private String cleaningRange;

	@ApiModelProperty(value = "工作时间")
	private String workTime;

	@ApiModelProperty(value = "清洁情况评价:0：差;1：良;2：优")
	private Integer cleaningEvaluate;


}
